package com.xdbigdata.sync.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 接口地址
 * </p>
 *
 * @author lshaci
 * @since 2019-09-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_jiekou")
@ApiModel(value="Jiekou对象", description="接口地址")
public class Jiekou extends Model<Jiekou> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("userName")
    private String userName;

    @TableField("passWord")
    private String passWord;

    private String jkbh;

    private String detail;

    private String url;

    @ApiModelProperty(value = "传0 代表全部数据")
    @TableField("currPage")
    private Integer currPage;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String result;

    private Integer success;

    @TableField("dataType")
    private String dataType;

    @TableField("totalPage")
    private Integer totalPage;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
